/************************************************************************
 * The code is owned by mainframer.cn and Shang Tao
 * Without aproval of mainframer.cn and Shang Tao, removing the copyright
 * infomation is regarded as invassion of proprietary copyright
 ***********************************************************************/
package com.mr.qa.bo;

import java.util.Date;


public class UserScoreHistory extends BaseBO
{


    // Fields    
    private Integer resourceId;
    private String resourceName;
    private String type;
    private Date date;
    private Integer score;
    private String description;
    private User user;
    

    // Constructors

    /** default constructor */
    public UserScoreHistory() {
    }

	/** minimal constructor */
    public UserScoreHistory(Date date, Integer score) {
        this.date = date;
        this.score = score;
    }
    
    /** full constructor */
    public UserScoreHistory(Integer resourceId, String resourceName, String type, Date date, Integer score, String description) {
        this.resourceId = resourceId;
        this.resourceName = resourceName;
        this.type = type;
        this.date = date;
        this.score = score;
        this.description = description;
    }

   
    // Property accessors

    
    public Integer getResourceId() {
        return this.resourceId;
    }
    
    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }

    public Date getDate() {
        return this.date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getScore() {
        return this.score;
    }
    
    public void setScore(Integer score) {
        this.score = score;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public void setUser(User user)
    {
        this.user = user;
    }
    
    public User getUser()
    {
        return user;
    }
}
